package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.springboot.model.pojos.InventoryYk;
import cn.gson.springboot.model.pojos.OutboundYk;

public interface InventoryYkDAO extends CrudRepository<InventoryYk, Integer>{
	@Query("select o from InventoryYk o where o.drugsYk.drugId=?1 and o.drugPc=?2")
	public InventoryYk cxkc(int a,int b);
}
